﻿.customer_list li {
    display: inline-block;
    width: 265px;
    height: 164px;
    margin: 0 28px 30px 0;
    border: 1px solid #cdcdcd;
    cursor: pointer;
    position: relative;
}

.customer_list li:nth-child(4n) {
    margin-right: 0;
}

.customer_list li img {
    height: 100%;
    width: 100%;
}

.customer_name {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    /*line-height: 164px;*/
    display: none;
}

.customer_name p {
    /*margin: 10px 20px;*/
    /*line-height: 22px;*/
    margin-top: 25%;
    display: inline-block;
    vertical-align: middle;
}

.customer_list li:hover .customer_name {
    display: block;
}
